package com.lagou.pojo;

import java.util.Date;

public class Article {


    private int id;

    private String title;

    private String content;

    private Date   created;

    private Date modified;

    private String catagories;

    private String tags;

    private int tinyint;

    private String thumbnail;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public String getCatagories() {
        return catagories;
    }

    public void setCatagories(String catagories) {
        this.catagories = catagories;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public int getTinyint() {
        return tinyint;
    }

    public void setTinyint(int tinyint) {
        this.tinyint = tinyint;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public Article() {
    }

    public Article(int id, String title, String content, Date created, Date modified, String catagories, String tags, int tinyint, String thumbnail) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.created = created;
        this.modified = modified;
        this.catagories = catagories;
        this.tags = tags;
        this.tinyint = tinyint;
        this.thumbnail = thumbnail;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", modified=" + modified +
                ", catagories='" + catagories + '\'' +
                ", tags='" + tags + '\'' +
                ", tinyint=" + tinyint +
                ", thumbnail='" + thumbnail + '\'' +
                '}';
    }
}
